#!/usr/bin/env python
# -*- coding:utf-8 -*-

# file:__init__.py.py
# author:Nathan
# datetime:2022/3/16 8:33
# software: PyCharm

"""
    日志初始化
"""

import loguru

loguru.logger.add(
    'logs/test_log.log',
    rotation="2 MB",
    encoding="utf-8",
)
